<ul nz-menu nzMode="horizontal">
    @for (item of barItems; track $index) {
    <li class="title" nz-menu-item [nzSelected]="item.id === selectedNode?.id" (click)="itemClick">
        <span nz-icon nzType="cluster"></span>
        {{ item.title}}
    </li>
    }
</ul>